package com.sikaryofficial.information.domain.dto.req;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 文章曝光次数统计对象
 *
 * @author qinjinyuan
 * @date 2024-04-24
 */
@Getter
@Setter
@ToString
@ApiModel(value = "文章曝光次数统计入参", description = "文章曝光次数统计入参")
public class ArticleExposureCountReq {
    /**
     * 对象ID;(目前是文章)
     */
    @ApiModelProperty(value = "对象ID;(目前是文章)")
    @Min(value = 0, message = "objectId type not be less than 0")
    @NotNull(message = "objectId can not be null")
    private Long objectId;
    /**
     * 品牌编码
     */
    @ApiModelProperty(value = "品牌编码")
    @NotBlank(message = "品牌编码不能为空")
    private String brandNo;

    @JsonIgnore
    private Integer tenantId;

}
